﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;

namespace ArcGisMapDesktop.Models
{
    [Serializable]
    public class CustomJsonResult
    {
        /// <summary>
        /// 格式化字符串
        /// </summary>
        public ResultCode ResultCode
        {
            get;
            set;
        }

        /// <summary>
        /// 格式化字符串
        /// </summary>
        public bool Success
        {
            get { return ResultCode == ResultCode.Success; }
        }

        /// <summary>
        /// 格式化字符串
        /// </summary>
        public string Message
        {
            get;
            set;
        }
        /// <summary>
        /// 格式化字符串
        /// </summary>
        public object Data
        {
            get;
            set;
        }

        /// <summary>
        /// 搜索结果总数
        /// </summary>
        public int TotalCount
        {
            get;
            set;
        }
        
        
    }
}